package com.carleasoft.mps.adu.business.user.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 培训履历表
 * </p>
 *
 * @author fan
 * @since 2023-02-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_authority_user_basicInfo_cultivate")
public class MAuthorityUserBasicinfoCultivate implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 关联用户编码
     */
    @TableField("USER_CODE")
    private String userCode;

    /**
     * 培训日期
     */
    @TableField("TRAINING_DATE_START")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate trainingDateStart;

    /**
     * 培训日期
     */
    @TableField("TRAINING_DATE_END")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate trainingDateEnd;

    /**
     * 培训内容
     */
    @TableField("TRAINING_CONTENT")
    private String trainingContent;

    /**
     * 培训单位
     */
    @TableField("TRAINING_UNIT")
    private String trainingUnit;

    /**
     * 考核情况
     */
    @TableField("ASSESS_CONDITION")
    private String assessCondition;

    /**
     * 登记人
     */
    @TableField("REGISTRANT")
    private String registrant;
    /**
     * 逻辑删除 0 未删除 1 删除
     */
    @TableField("IS_DELETE")
    private Integer isDelete;


}
